﻿<%@ Page Language="C#" MasterPageFile="~/FrameMasterPage.master" AutoEventWireup="true" CodeFile="ProblemAdd.aspx.cs" Inherits="ProblemAdd" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="m_contentBody" Runat="Server">

<body>

   <table cellspacing="2" cellpadding ="2" style="height:100%" class="GridItem" >
        <br />
        <tr>
            <td><strong> Add new problem </strong> </td>  
        </tr>
       
      <tr >
         <td style="height: 28px" ><asp:Label ID="Label1" runat="server" Text="Type equipment:  "></asp:Label></td>
         <td style="height: 28px">
        <asp:DropDownList ID="drlTypeequipment" runat="server" Height="25px" Width="175px" 
                                    AppendDataBoundItems="True" 
                 DataSourceID="dsTypeequipment" DataTextField="EquipmentTypeLabel" 
                 DataValueField="EquipmentTypeId">
                                    <asp:ListItem Value="-1">--- Choose Typeequipment ---</asp:ListItem>
                                </asp:DropDownList>
             <asp:ObjectDataSource ID="dsTypeequipment" runat="server" 
                 SelectMethod="GetEquipmentTypes" TypeName="Service.ReferenceDataService">
             </asp:ObjectDataSource>
         </td>
      <tr> 
      <td> </td>  
          <td>
          <asp:Label ID="lblRequireTypeequipment" runat="server" ForeColor="Red"  Text=""></asp:Label>
           </td>
      </tr>
   
      </tr>
      
      <tr >
         <td style="height: 28px"><asp:Label ID="Label2" runat="server" Text="Group problem:  "></asp:Label></td>
         <td style="height: 28px">
         <asp:TextBox  ID="txtProblemgroup" runat="server"  Width="170px" 
                 TextMode="MultiLine"  ></asp:TextBox>
         </td>
      </tr>
      
      <tr> 
      <td> </td>  
          <td>
          <asp:Label ID="lblRequireGroupProblem" runat="server" ForeColor="Red"  Text=""></asp:Label>
           </td>
      </tr>
   
      <tr>
          <td></td>
          <td style="text-align:right"> <asp:Button CssClass="btnexpress" 
                  BorderStyle="Dotted" ID="bntValidate" 
                     runat="server" Text="Validate" onclick="bntValidate_Click" />
           <asp:Button CssClass="btnexpress" BorderStyle="Dotted" ID="bntCancel" 
                     runat="server" Text="Cancel" onclick="bntCancel_Click" />
                     &nbsp;&nbsp;<asp:Label ID="lblPermission" runat="server" CssClass="permissionstyle"></asp:Label></td>
           
      </tr>  
      <tr> 
      <td> </td>  
          <td>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:Label ID="Label3" runat="server" ForeColor="Red" Visible="False" Text=""></asp:Label>
           </td>
      </tr>
      
       <tr> 
      <td> </td>  
          <td>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:Label ID="lblMessageValidate" runat="server" ForeColor="Red"  Text=""></asp:Label>
           </td>
      </tr>
   
  </table>

</body>
</asp:Content>

